package itcz.example.pattern.create_action.builder.demo1;

/**
 * @ClassName: OfoBuilder
 * @Author: ITCZ
 * @Date: 2025-04-20
 * @Description: 具体构建者
 */
public class OfoBuilder extends Builder {
    @Override
    public void buildFrame() {
        bike.setFrame("ofo车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("ofo车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
